<html>
 <head>
    <title>Accounts/Groups total</title>
    <link rel='stylesheet' href='css/styles.css' type='text/css' />
    <link href="js/schema.js" type="application/json" rel="exhibit/data" />
    <link href="accounttotals.js" type="application/json" rel="exhibit/data" />
    <script src="http://static.simile.mit.edu/exhibit/api-2.1.0/exhibit-api.js"></script>
    <!-- script src="http://static.simile.mit.edu/exhibit/api-2.0/exhibit-api.js" type="text/javascript"></script -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 
</head> 
<body>
 <table><tr>
 <td width="10%"><a href="index.html">Home</a></td>
 <td width="50%"><a href="accounts.html">select different groups, accounts and/or statement dates</a></td>
 <td width="10%"><a href="http://code.google.com/p/3account/wiki/Getting_Started">Help</a></td>
 </tr></table>
 <h1>Accounts/Groups total</h1>



<div ex:role="collection" id="groupdayasofs" ex:itemTypes="groupdayasof"></div>
<div ex:role="collection" id="accountdtasofs" ex:itemTypes="accountdtasof"></div>
   <table>
        <tr><td>
<h2>Groups total</h2>
<div ex:role="view" ex:collectionID="groupdayasofs"
     ex:viewClass="Tabular" 
     ex:showSummary="false"
     ex:columns=".accountGroup, .dayasof, .mKTVAL"
     ex:columnLabels="Group, Statement day, Value"
     ex:formats="date { mode: short }  number { decimal-digits: 2 }"
     ex:sortColumn="1"
     ex:sortAscending="false"
     ex:showToolbox="true">
    <table style="display: none;">
        <tr>
            <td><span ex:content=".accountGroup"></span></td>
            <td><span ex:content=".dayasof"></span></td>
            <td style="text-align:right"><span ex:content=".mKTVAL"></span></td>
        </tr>
    </table>
</div>
        </td></tr>
        <tr><td>
<h2>Accounts total</h2>
<div ex:role="view" ex:collectionID="accountdtasofs"
     ex:viewClass="Tabular" 
     ex:showSummary="false"
     ex:columns=".ACCTID, .DTASOF, .AVAILCASH, .mktval"
     ex:columnLabels="Account ID, Statement date-time, Available Cash, Value"
     ex:formats="date { mode: short }  number { decimal-digits: 2 }"
     ex:sortColumn="1"
     ex:sortAscending="false"
     ex:showToolbox="false">
    <table style="display: none;">
        <tr>
            <td><span ex:content=".ACCTID"></span></td>
            <td><span ex:content=".DTASOF"></span></td>
            <td style="text-align:right"><span ex:content=".AVAILCASH"></span></td>
            <td style="text-align:right"><span ex:content=".CURDEF"></span> <span ex:content=".mktval"></span></td>
        </tr>
    </table>
</div>
             </td>
            <td width="25%">
<div ex:role="facet" ex:expression=".ACCTID" ex:facetLabel="Account"  ex:collectionID="accountdtasofs"></div>
<div ex:role="facet" ex:expression=".DTASOF" ex:facetLabel="Date" ex:sortDirection="reverse"  ex:collectionID="accountdtasofs"></div>
           </td>
        </tr>
    </table>

 <script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-4428134-7");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>
